<dl id="<?php echo $this->id ?>" class="<?php echo $this->full_class ?>">
	<dt><?php echo $this->title?></dt>
	<?php 
	$tree = GoodsCateModel::getTree();
	$roots = $tree->get_tree();
	foreach ($roots as $root){
	?>
		<dd>
		<?php 
			if(!isset($root['name'])){
				print_r($root);exit;
			}
			echo CHtml::link($root['name'], GoodsCateModel::getUrl($root));
			if(isset($root['children']) && !empty($root['children'])){
		?>
			<a class="second_link" href="javascript:void(0)"> > </a>
			<div class="second_nav_content">
		<?php 
				foreach ($root['children'] as $cate_id=>$cate){
					echo CHtml::link($cate['name'], GoodsCateModel::getUrl($cate));
				}
		?>
			</div>
		<?php 
		}
		?>
		</dd>
	<?php 
	}
	?>
</dl>